package com.sky.service;

import com.github.pagehelper.Page;
import com.sky.annotation.AutoFill;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DishService {
    //void save(DishDTO dishDTO);

    PageResult save(DishPageQueryDTO dishPageQueryDTO);



    void delete(List<Long> ids);


    void addDish(DishDTO dishDTO);



    DishVO getById(Long id);


    void update(DishDTO dishDTO);

    List<DishVO> selectByList(Integer categoryId);

    void startOrStop(Integer status, Long id);
}
